<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateCatesTable extends Migration
{
    //提交
    public function up()
    {
        Schema::create('cates', function (Blueprint $table) {
            $table->increments('id');
			$table->string ('cname')->comment('店铺分类名称|input');
            $table->timestamps();
        });
    }

    //回滚
    public function down()
    {
        Schema::dropIfExists('cates');
    }
}
